﻿<%@ Page Language="C#" MasterPageFile="~/view/Home.Master" AutoEventWireup="true"
    Codebehind="infoDetails.aspx.cs" Inherits="Roaming.view.infoDetails" Title="Viettel Roaming" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphHome" runat="server">
    <div class="body">
	    <div class="bg_tip">
		    <div class="menu_botom"><a href="/view/index.html">Home</a></div>
		    <div class="line_menu_botom"></div>
		    <% if (iArtId == 62)
         {%>	    
		    <div class="menu_botom_o"><a href="/view/roaming.html">Roaming</a></div>
		    <%} else {%>
		    <div class="menu_botom"><a href="/view/roaming.html">Roaming</a></div>
             <%} %>   
		    <div class="line_menu_botom"></div>
		    <div class="menu_botom"><a href="/view/news.html">News</a></div>
		    <div class="line_menu_botom"></div>
		    <div class="menu_botom"><a href="/view/help.html">Help </a></div>
	    </div>
    </div>
    <div class="body">
	<div class="spape"></div>
</div>
    
    <%if (dsArticle != null && dsArticle.Tables[0].Rows.Count > 0)
      { %>
<div class="body">
    <% if (iArtId==62)
       { %>
           	<div class="icon_smile2"><img src="../images/icon_smile.gif" alt=""/></div>
        <%} else {%>
    	<div class="icon_arrow"><img src="../images/icon_arrow.gif" alt=""/></div>
    	<%} %>
	<div class="noi_dung_dam"><strong><%=dsArticle.Tables[0].Rows[0]["title"].ToString()%></strong></div>
</div>
<% if (iArtId != 62)
   { %>
<div class="body">
	<div class="spape"></div>
</div>
<%} %>
<div class="body">     
     <%if (dsArticle != null && iParId == 92)
    {%><div class="icon_weather"><img src="../images/<%=dsArticle.Tables[0].Rows[0]["title"].ToString().Replace("Embassies ","")%>.png" alt=""/></div>
    <%} %>     
	 <%if (dsArticle != null && Int32.Parse(dsCate.Tables[0].Rows[0]["parentId"].ToString()) == 20)
    {%><div class="icon_weather"><img src="<%=ConfigurationManager.AppSettings["ImageUrl"].ToString()%><%=getTopByCate_img(dsArticle.Tables[0].Rows[0]["source"].ToString()).ToString()%>" alt=""/></div>
    <%} %>
	<%if (dsArticle != null && Int32.Parse(dsCate.Tables[0].Rows[0]["parentId"].ToString())==20)
    {%><div class="nd3"><%= dsArticle.Tables[0].Rows[0]["message"].ToString() %></div>
    <%}%>
    <%else {  %>
    <%= dsArticle.Tables[0].Rows[0]["message"].ToString() %>    
    <%} %>
</div>
<div class="body">
	<div class="spape"></div>
	</div>
    <%} %>
    <!--<End Cac tin da dua>-->
    <%if (dsOtherArticles != null && dsOtherArticles.Tables[0].Rows.Count > 0)
      {%>
    <div class="body">
        <div class="body">
            <div class="tieude1">
                Others:</div>
            <div class="cls">
            </div>
        </div>
    </div>
    <div class="body">
        <div class="space">
        </div>
    </div>
    <asp:Repeater ID="rptOtherArticles" runat="server">
        <ItemTemplate>
            <div class="body">
                <div class="body">
                    <div class="arrow_dot">
                        <img src="../images/arrow2.gif" alt="" /></div>
                    <% if (iParId == 92)
                       {%>
                        <div class="text">
                        <a href="/<%# DataBinder.Eval(Container.DataItem, "categoryId").ToString()%>/infoDetails.html">
                         <%# DataBinder.Eval(Container.DataItem, "title").ToString()%>
                        </a>
                        <%}
                          else
                          {%>
                             <div class="text">
                            <a href="/<%# DataBinder.Eval(Container.DataItem, "articleId").ToString()%>/infoDetails.html">
                            <%# DataBinder.Eval(Container.DataItem, "title").ToString()%>
                            </a>
                         <%} %>
                    </div>
                    <div class="cls">
                    </div>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <%}%>
    <!--<end Chi tiet tin moi nhat>-->
    
     <%if (dsCate.Tables[0].Rows[0]["parentId"].ToString() == "0")
        {%>
        <div class="body">
        <div class="paper">
        <a href="/21/info.html">Back</a>
        | <a href="/view/index.html">Home</a></div>
        </div>
            <%} else {%>
            <div class="body">
            <div class="paper">
            <a href="/<%= dsCate.Tables[0].Rows[0]["parentId"].ToString()%>/info-page<%= Infopage.ToString()%>.html">Back</a>
            | <a href="/view/index.html">Home</a></div>
            </div>
            <%} %>
    
    <div class="body">
        <div class="space">
        </div>
    </div>
</asp:Content>
